package com.itheima.dao;

import com.github.pagehelper.Page;

import com.itheima.pojo.UserManager;

import java.util.HashMap;
import java.util.List;


public interface UserManagerDao {

    void addDataBaseSetMeal(UserManager userManager);

    void addSetMealAndCheckGroud(HashMap<String, Object> map);

    Page<UserManager> findByCondition(String s);

    UserManager findSetMealById(Integer id);

    Integer[] findGroups(Integer id);

    void updateBaseSetMeal(UserManager userManager);

    void deleteSetMealAndCheckGroup(Integer id);

    void addSetMealAndCheckGroup(HashMap<String, Object> map);

    List<UserManager> getSetmeal();

    void delete(Integer id);

    Integer findUserAndRoleById(Integer id);

//    List<Map<String, Object>> findOrderCountSetmeal();
}
